<template>
  <div class="header">
    {{ title }}
  </div>
</template>

<style lang="scss">
.header {
  height: 1.1rem;
  background-color: #FF6040;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.4rem;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
</style>
<script>
export default {
  name: 'Header',
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>
